/**
 * 北谷信息科技（广州）有限公司拥有本软件所有版权 © 2022，并保留所有权利。
 * Copyright © 2022, North Valley Information Technology (Guangzhou) Company
 * Limited, All Rights Reserved.
 */

package main.com.scrapy.entity;

import java.io.Serializable;

/**
 * TODO: 给出类和接口说明
 *
 * @author Double
 * <p><b>Creation Time:</b> 2022/9/20 17:11</p>
 * @since scrapy-1688
 */
public class ProductParam implements Serializable {

  private String dataType = "moduleData";

  private ArgString argString = new ArgString();

  public String getDataType() {
    return dataType;
  }

  public void setDataType(String dataType) {
    this.dataType = dataType;
  }

  public ArgString getArgString() {
    return argString;
  }

  public void setArgString(ArgString argString) {
    this.argString = argString;
  }
}

class ArgString implements Serializable {

  private String memberId = "b2b-2599038082431ab";  //b2b-2599038082431ab
  private String appName = "pcmodules"; // pcmodules
  private String resourceName = "wpOfferColumn"; // wpOfferColumn
  private String type = ""; // view
  private String version = "1.0.0"; // 1.0.0
  private Appdata appdata = new Appdata();

  public String getMemberId() {
    return memberId;
  }

  public void setMemberId(String memberId) {
    this.memberId = memberId;
  }

  public String getAppName() {
    return appName;
  }

  public void setAppName(String appName) {
    this.appName = appName;
  }

  public String getResourceName() {
    return resourceName;
  }

  public void setResourceName(String resourceName) {
    this.resourceName = resourceName;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public Appdata getAppdata() {
    return appdata;
  }

  public void setAppdata(Appdata appdata) {
    this.appdata = appdata;
  }
}

class Appdata implements Serializable {

  private String sortType = "wangpu_score";  // wangpu_score
  private boolean sellerRecommendFilter = false; // false
  private boolean mixFilter = false; // false
  private boolean tradenumFilter = false; // false
  private String quantityBegin = null; // null
  private Integer pageNum = 1; // 1
  private Integer count = 30; // 30

  public String getSortType() {
    return sortType;
  }

  public void setSortType(String sortType) {
    this.sortType = sortType;
  }

  public boolean isSellerRecommendFilter() {
    return sellerRecommendFilter;
  }

  public void setSellerRecommendFilter(boolean sellerRecommendFilter) {
    this.sellerRecommendFilter = sellerRecommendFilter;
  }

  public boolean isMixFilter() {
    return mixFilter;
  }

  public void setMixFilter(boolean mixFilter) {
    this.mixFilter = mixFilter;
  }

  public boolean isTradenumFilter() {
    return tradenumFilter;
  }

  public void setTradenumFilter(boolean tradenumFilter) {
    this.tradenumFilter = tradenumFilter;
  }

  public String getQuantityBegin() {
    return quantityBegin;
  }

  public void setQuantityBegin(String quantityBegin) {
    this.quantityBegin = quantityBegin;
  }

  public Integer getPageNum() {
    return pageNum;
  }

  public void setPageNum(Integer pageNum) {
    this.pageNum = pageNum;
  }

  public Integer getCount() {
    return count;
  }

  public void setCount(Integer count) {
    this.count = count;
  }
}
